

#include "main.h"


extern uint8_t GUSend_data;

#define FORE_ROTATION 	0X01
#define REV_ROTATION 		0X02
#define BUTTON_SWITCH 	0X04

#define SW_FORE	1
#define SW_REV	2
#define SW_FLOAT	0


struct SWITCH_STATUS{
	uint8_t LAST_STATUS;
	uint8_t	Current_STATUS;
};


uint8_t UBstatus_detect(void);
void Delay_ms(uint32_t time);
void vCircle_Send(uint8_t send_data);


